Decision Server REST API - ruleapps/{ruleappname}/{ruleappversion}/{rulesetname} Resource - GET (count) Method

Counts the number of elements in this list.

Sample Method Invocation

GET /api/v1/ruleapps/{ruleappname}/{ruleappversion}/{rulesetname}?count={boolean}

Parameters

The method has the following parameters:
Name Value Type Use Description
count boolean required If the value is true or is not specified, the result is plain text that contains the number of elements in the resulting collection of the query URI path.

Request Content

None.

Response Content

The default content-type is text/plain.

Status Codes

The method returns one of the following status codes:
Code Description
200 Successful completion.
204 Successful completion, no content available.
400 The parameters are not valid or they are missing.
401 The caller is not authorized for this request.
403 The caller is not allowed to complete this request.
404 The resource does not exist.
406 The requested content type or content encoding is not supported.
500 A severe problem has occurred, programmer's details are provided.

Available Since

8.0.1.0

Parent Topic: ruleapps/{ruleappname}/{ruleappversion}/{rulesetname} Resource